package com.socool.login;

import com.example.socool.R;
import com.example.socool.R.anim;
import com.example.socool.R.id;
import com.example.socool.R.layout;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Act_Login extends Activity {

	
	Button facebookLogin;
	Button facebookSignup;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.login_main);
		
		facebookLogin = (Button)findViewById(R.id.facebookLogin);
		facebookSignup = (Button)findViewById(R.id.signup);
		
		facebookLogin.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {

				  Intent intent = new Intent(Act_Login.this, Act_Login_FB.class);
				  intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
			      startActivity(intent);
			      overridePendingTransition(R.anim.fade,R.anim.hold);
				
			}
		});
	
		
	}

	

}